GPIO: pca953x: Rework to not include commands in SPL
authorTom Rini <[email protected]>
Wed, 3 Jan 2018 14:23:14 +0000 (09:23 -0500)
committerTom Rini <[email protected]>
Fri, 19 Jan 2018 20:49:29 +0000 (15:49 -0500)
commit0d097b774d5a3470bea32bc702c45bd843cd9378
tree0d5cfb47b07eb1675cc5e39e54147074f00cd512
parent7e37a884655e704b78ee1ca783566c307f9b9995
GPIO: pca953x: Rework to not include commands in SPL

The command portion of the GPIO driver can only be used in full SPL so
re-work to guard the command related portions and mark it as static.

Cc: Bin Meng <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Philipp Tomsich <[email protected]>
Signed-off-by: Tom Rini <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
drivers/gpio/pca953x.c